Now that GdkCursor is a GObject, it doesn't need custom refcount
handling anymore.
* Adds a reference to @cursor.
*
* Return value: Same @cursor that was passed in
+ *
+ * Deprecated: 3.0: Use g_object_ref() instead
*/
GdkCursor*
gdk_cursor_ref (GdkCursor *cursor)
*
* Removes a reference from @cursor, deallocating the cursor
* if no references remain.
+ *
+ * Deprecated: 3.0: Use g_object_unref() instead
*/
void
gdk_cursor_unref (GdkCursor *cursor)
GdkPixbuf *pixbuf,
gint x,
gint y);
+GdkCursor* gdk_cursor_new_from_name (GdkDisplay *display,
+ const gchar *name);
GdkDisplay* gdk_cursor_get_display (GdkCursor *cursor);
+#ifndef GDK_DISABLE_DEPRECATED
GdkCursor* gdk_cursor_ref (GdkCursor *cursor);
void gdk_cursor_unref (GdkCursor *cursor);
-GdkCursor* gdk_cursor_new_from_name (GdkDisplay *display,
- const gchar *name);
+#endif
GdkPixbuf* gdk_cursor_get_image (GdkCursor *cursor);
GdkCursorType gdk_cursor_get_cursor_type (GdkCursor *cursor);